package br.com.petsis.auditoria;

import javax.persistence.EntityManager;
import javax.persistence.PreUpdate;

import org.jboss.seam.annotations.In;

import br.com.petsis.entity.TipoVale;

public class TipoValeAuditoria {

	@In(required=false)
	EntityManager entityManager;
	
	@PreUpdate
	public void preUpdate(TipoVale tipoVale) {
		System.out.println(tipoVale.getIdTipoVale());
		System.out.println(entityManager);
	}
}
